<div class="input-switch-root">
  <h3 class="first">Basic - {{checked1}}</h3>
  <p-inputSwitch [(ngModel)]="checked1"></p-inputSwitch>

  <h3>Labels - {{checked2}}</h3>
  <p-inputSwitch onLabel="Yes" offLabel="No" [(ngModel)]="checked2"></p-inputSwitch>

  <h3>Labels - {{checked3}}</h3>
  <p-inputSwitch onLabel="对" offLabel="错" [(ngModel)]="checked3"></p-inputSwitch>
</div>
